import { _decorator, Billboard, Component, Material, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('CurveBillboard')
export class CurveBillboard extends Billboard {
    @property(Material)
    get material(): Material {
        return this["_material"];
    }

    set material(val) {
        this["_material"] = val;
    }

    // set material(val) {
    //     this["_material"] = new Material();
    //     this["_material"].copy(val);
    // }
}


